package com.gzs.learn.springcloud.repository;


import com.gzs.learn.springcloud.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Set;

/**
 * @author zhisong.guan
 */
public interface UserRepository extends JpaRepository<User, Long> {

    List<User> findAllByIdIn(Set<Long> userIds);
}
